/*
 * Created on 2005-10-8
 *
 */
package com.hd123.rumba.runtime;

import com.hd123.rumba.exception.BusinessException;

/**
 * @author caili
 */
@PerzEntity(constant=com.hd123.rumba.gwt.base.client.biz.CPersistent.class)
public interface IPersistent {

  /** @deprecated */
  public static final String CAPTION_UUID = CPersistent.CAPTION_UUID;
  
  public void setUuid(String uuid) throws BusinessException;

  public String getUuid() throws BusinessException;

  public int hashCode();

  public boolean equals(Object obj);

  public int compareTo(Object obj) throws BusinessException;

  public boolean isEmpty() throws BusinessException;

}
